package com.csh.subject.domain.convert;

import com.csh.subject.domain.entity.SubjectAnswerBo;
import com.csh.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Description
 *
 * @Author: Maverick_Csh
 * @Date: 2024/2/26
 */
@Mapper
public interface SubjectRadioConvert {
    SubjectRadioConvert INSTANCE = Mappers.getMapper(SubjectRadioConvert.class);

    SubjectRadio convertBoToRadio(SubjectAnswerBo subjectAnswerBo);

    List<SubjectAnswerBo> convertEntityToBoList(List<SubjectRadio> subjectRadioList);

}
